package cn.uce.sms.srv.biz.impl;

import cn.uce.sms.api.service.biz.ICsSmNoticeViewRecordBiz;
import cn.uce.sms.entity.CsSmNoticeViewRecord;
import cn.uce.sms.srv.service.CsSmNoticeViewRecordService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

@Service("csSmNoticeViewRecordBiz")
@Transactional(readOnly = true, propagation= Propagation.SUPPORTS, rollbackFor = Exception.class)
public class CsSmNoticeViewRecordBiz implements ICsSmNoticeViewRecordBiz {

    @Resource
    private CsSmNoticeViewRecordService csSmNoticeViewRecordService;

    /**
     * 新增
     * @param csSmNoticeViewRecord
     * @return
     */
    @Override
    public Integer saveCsSmNoticeViewRecord(CsSmNoticeViewRecord csSmNoticeViewRecord) {
        return csSmNoticeViewRecordService.saveCsSmNoticeViewRecord(csSmNoticeViewRecord);
    }
}
